package com.day22.Coverter;

public class CoverterDemo {
    public static void main(String[] args) {
            useCoverter(s->{
                return Integer.parseInt(s);
            });
            useCoverter(Integer::parseInt);
        };
    private static void useCoverter(Coverter c) {
        int number=c.convert("666");
        System.out.println(number);
     }
    }
